package com.weng.cloud.service8881.bean.lookup.demo1;

import org.springframework.beans.factory.annotation.Lookup;

//@Component
public class Car {
    private String name;
    //	@Autowired
    private Seat seat;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Lookup
    public Seat getSeat() {
        return seat;
    }

    public void setSeat(Seat seat) {
        this.seat = seat;
    }
}